package com.xinqi.modules.exam;

import com.xinqi.common.mybatis.annotation.JsonTypeScan;
import com.xinqi.common.rocketmq.annotation.EnableMqConsumer;
import com.xinqi.common.security.annotation.EnableXqFeignClients;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author linkai
 * @date 2023/1/10
 */
@Slf4j
@EnableDiscoveryClient
@SpringBootApplication
@EnableXqFeignClients
@EnableMqConsumer
@EnableAsync
@JsonTypeScan(basePackages = "com.xinqi.modules.exam.*.domain")
public class ExamApplication {
    public static void main(String[] args) {
        SpringApplication.run(ExamApplication.class, args);
        log.info("ExamApplication start success !!!!!!!!!!!!!!!!!!");
    }
}
